Interface ClassMapManager

All Superinterfaces:
IPCObject
All Known Implementing Classes:
ClassMapManagerImpl

public interface ClassMapManager extends IPCObject
Information provided by the PKI file:

    \class ClassMapManager
    
    \brief ClassMapManager is the manager for QoS class maps.
    
    \example network().getDevice("Router0").getClassMapManager()
    
Author:
Auto-generated
  • Method Details

    • deleteClassMap

      void deleteClassMap(String name)
      Information provided by the PKI file:
      
          \brief Removes the specified class map.
          
          \param name, the name of the class map of interest.
          
          \param string, the class map name.
          
              
      Parameters:
      name - Takes in a parameter of name
    • classMapExist

      boolean classMapExist(String name)
      Information provided by the PKI file:
      
          \brief Returns true if the specified class map exists, otherwise false.
          
          \param name, the name of the class map of interest.
          
          \return bool, true if the specified class map exists, otherwise false.
          
              
      Parameters:
      name - Takes in a parameter of name
      Returns:
      boolean Returns a boolean
    • getClassMapCount

      Short getClassMapCount()
      Information provided by the PKI file:
      
          \brief Returns the number of class maps.
          
          \return short, the number of class maps.
          
              
      Returns:
      Short Returns a Short
    • getClassMapAt

      ClassMap getClassMapAt(int index)
      Information provided by the PKI file:
      
          \brief Returns the ClassMap object at the specified index.
          
          \param mapname, the index of the class map of interest.
          
          \return ClassMap, the ClassMap object at the specified index.
          
              
      Parameters:
      index - Takes in a parameter of index
      Returns:
      ClassMap Returns a ClassMap
    • getClassMap

      ClassMap getClassMap(String mapname)
      Information provided by the PKI file:
      
          \brief Returns the ClassMap object with the specified class map name.
          
          \param mapname, the name of the class map of interest.
          
          \return ClassMap, the ClassMap object with the associated class map name.
          
              
      Parameters:
      mapname - Takes in a parameter of mapname
      Returns:
      ClassMap Returns a ClassMap
    • hasCircularReference

      boolean hasCircularReference(String map1, String map2)
      Information provided by the PKI file:
      
          \brief Returns true if the two specified class maps are the same, otherwise false.
          
          \param map1, the name of the first class map.
          \param map2, the name of the second class map.
          
          \return bool, true if the two specified class maps are the same, otherwise false.
          
              
      Parameters:
      map1 - Takes in a parameter of map1
      map2 - Takes in a parameter of map2
      Returns:
      boolean Returns a boolean
    • rearrangeMaps

      void rearrangeMaps(String map1, String map2)
      Information provided by the PKI file:
      
          \brief Rearranges the specified class maps such that map1 precedes map2.
          
          \param map1, the name of the first class map.
          \param map2, the name of the second class map.
          
              
      Parameters:
      map1 - Takes in a parameter of map1
      map2 - Takes in a parameter of map2